import { z } from 'zod'
import { procedure, router } from '../trpc'
import { toolsRouter } from './tools'

export const appRouter = router({
  // 健康检查
  health: procedure.query(() => {
    return { status: 'ok', timestamp: new Date().toISOString() }
  }),
  
  // 工具相关路由
  tools: toolsRouter,
})

export type AppRouter = typeof appRouter